package cn.bob.basic.jwt;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author bob
 * @data 2022/10/28-12:32
 */
public enum  JwtRasHolder {
    //生成的enum枚举类  去获取数据创建
    INSTANCE;
    public byte[] pubKeyData;
    public byte[] priKeyData;

    public byte[] getPubKeyData() {
        return pubKeyData;
    }

    public void setPubKeyData(byte[] pubKeyData) {
        this.pubKeyData = pubKeyData;
    }

    public byte[] getPriKeyData() {
        return priKeyData;
    }

    public void setPriKeyData(byte[] priKeyData) {
        this.priKeyData = priKeyData;
    }
}
